package com.kl.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;


@Data
@NoArgsConstructor
@AllArgsConstructor
@NotEmpty
@Builder
public class Field {

    private String name;

    private String defaultValue;

    private String fullType;

    private String simpleType;

    public Field(String name, String fullType, String simpleType) {
        this.name = name;
        this.fullType = fullType;
        this.simpleType = simpleType;
    }

}
